package com.example.im.core.vo;

import java.io.Serializable;
import java.util.Date;

/**
 * SocketIO服务端与IP的映射关系
 *
 */
public class SocketIOServerMapper implements Serializable{
	private static final long serialVersionUID = 3221372025220215858L;
	
	/**
	 * 客户端类型，客户：C，客服：CS
	 */
	private String clientType;
	/**
	 * 用户名
	 */
	private String userName;
	/**
	 * socketio服务端Ip
	 */
	private String socketioServerIp;
	
	/**
	 * 应用服务器host
	 */
	private String appSrvHost;
	
	/**
	 *  客户状态，S0I:初始，S0W：待接入，S0P：已接入
	 */
	private String customerStatus; 
	
	/**
	 * 连接socketio时间
	 */
	private Date connectDate;
	
	
	public String getClientType() {
		return clientType;
	}
	public void setClientType(String clientType) {
		this.clientType = clientType;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getSocketioServerIp() {
		return socketioServerIp;
	}
	public void setSocketioServerIp(String socketioServerIp) {
		this.socketioServerIp = socketioServerIp;
	}
	public String getCustomerStatus() {
		return customerStatus;
	}
	public void setCustomerStatus(String customerStatus) {
		this.customerStatus = customerStatus;
	}
	public String getAppSrvHost() {
		return appSrvHost;
	}
	public void setAppSrvHost(String appSrvHost) {
		this.appSrvHost = appSrvHost;
	}
	public Date getConnectDate() {
		return connectDate;
	}
	public void setConnectDate(Date connectDate) {
		this.connectDate = connectDate;
	}
	
	
	@Override
	public String toString() {
		return "SocketIOServerMapper [clientType=" + clientType + ", userName=" + userName + ", socketioServerIp="
				+ socketioServerIp + ", appSrvHost=" + appSrvHost + ", customerStatus=" + customerStatus
				+ ", connectDate=" + connectDate + "]";
	}
	
}
